package com.wkf.truck.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wkf.truck.common.PageModel;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author lxb
 * @since 2021-02-14
 */
@Data
@TableName("truck")
public class Truck extends PageModel {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 司机id
     */
    private Long userId;

    /**
     * 司机
     */
    private String driver;

    /**
     * 货车车牌
     */
    private String number;

    /**
     * 货车类型
     */
    private String type;

    /**
     * 货车载货空间
     */
    private String space;

    /**
     * 货车图片
     */
    private String img;

    /**
     * 备注
     */
    private String remark;

    /**
     * 建议
     */
    private String advice;

    /**
     * 创建时间
     */
    private Timestamp createTime;

    /**
     * 货车载重量
     */
    private String capacity;
}
